Skip to main content

All Questions

1vote
1answer
2kviews

How pass the file's content through Named Pipe and then copy it into another one?

I wrote 2 programs that normally 1.create the named pipe(server) and 2. pass the string from the shell to the server part. I understand how to hand over a string from the terminal to the server part ...
Kirill Shvedov's user avatar
1vote
1answer
109views

What does the STICKY_TIMEOUTS flag for personality(2) do?

Is there a good description of exactly what each of the flags you can pass to personality(2) does? I'm particularly interested in STICKY_TIMEOUTS, but a general detailed description of all of them ...
Omnifarious's user avatar
2votes
2answers
2kviews

Low level system call [closed]

C provides library functions such as write(),read().. for system calls.How to make a system call without using any library in linux in C ?
saurav1405's user avatar
5votes
4answers
15kviews

System calls source code

C library provides functions such as write(),read(),open()...that we can use in our C program to make system calls. where can I find source code for these functions?
saurav1405's user avatar
2votes
1answer
232views

System calls in linux

Generally, systems provide a library or API that sits between normal programs and the operating system. On Unix-like systems, that API is usually part of an implementation of the C library (libc), ...
saurav1405's user avatar
7votes
2answers
15kviews

How to find the header file where a c function is defined?

Is there an easy way to find out which header file a C function declaration is in? cding into /usr/include and running (grep -E 'system.*\(' *.h -R) works with some trial and error, but isn't there an ...
Khaja Minhajuddin's user avatar
15votes
2answers
23kviews

Difference between slow system calls and fast system calls

What's the difference between slow system calls and fast system calls? I have learned that slow system call can block if the process catches some signals, because the caught signals may wake up the ...
KayKay's user avatar
2votes
3answers
1kviews

Are all system call error numbers unique?

I'm writing a program for Systems Programming in Unix, and one of the requirements is to process all possible error returns from system calls. So, rather than having a function tailored to each ...
Jason's user avatar

close